# ---------------------------------------------------------------- #
# The Journal of Politics
# When Do Citizens Resist The Use of AI Algorithms in Public Policy?
#
# Replication Instructions
# 
# Author: Shir Raviv
# Date: Feb 19, 2025
# ---------------------------------------------------------------- #

# This file contains instructions for replicating all analyses in the manuscript.
# The replication package contains four main R scripts that should be run sequentially.

# INSTRUCTIONS FOR REPLICATION:
#  	Create the folder structure as described in Set-up: JOP_Replication and a subfolder "figures"
#  	Place all data files and scripts in the JOP Replication folder
#  	Set your working directory to the main "JOP_Replication" folder
#setwd("insert here.. /JOP Replication")
#plotpath <- "figures/"

#  	Run the scripts in the following order: 
source("dataprep.R", echo = TRUE)
source("DT_code.R", echo = TRUE)
source("DM_code.R", echo = TRUE)
source("Theory_Validation_code.R", echo = TRUE)
